package com.qaml.mes.device.repository;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.qaml.mes.device.dao.DayOffConfigDO;

import java.util.Date;
import java.util.List;

public interface DayOffRepository {

    void save(DayOffConfigDO configDO, Boolean isUpdate);

    IPage<DayOffConfigDO> page(Integer page, Integer pageSize, DayOffConfigDO configDO);

    List<DayOffConfigDO> getDoByTenantAndDate(Long tenantId, Date date);
}
